package com.jm.call;

/**
 * Created by dyz on 2018/9/20.
 */

public class CallEventBean {
    public static int EVENT_ACCEPT_CALL_SUCCESS = 1;//接听电话事件
    public static int EVENT_REFUSE_CALL_SUCCESS = 2;//拒听电话事件
    public static int EVENT_HANGUP_CALL_SUCCESS = 3;//挂断电话事件
    public static int EVENT_ENGINE_INIT_COMPLETE = 4;//音视频引擎初始化完成事件
    public static int EVENT_ON_CALL_OUTGOING = 5;//通话已播出事件
    public static int EVENT_ON_CALL_INVITE_RECEIVED = 6;//收到通话邀请事件
    public static int EVENT_ON_CALL_CONNECTED = 7;//通话连接已建立
    public static int EVENT_ON_CALL_ERROR = 8;//本地通话连接断开,通话发生错误
    public static int EVENT_START_CALL = 9;//发起语音通话事件

    public int event;//音频电话事件
    public int responseCode;//0成功，否则失败

    public CallEventBean(int event,int responseCode) {
        this.event = event;
        this.responseCode = responseCode;
    }
}
